package com.shopcart.service;


import com.shopcart.pojo.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    ShoppingCart addToCart(ShoppingCart shoppingCart);
    ShoppingCart updateCartItem(ShoppingCart shoppingCart);
    void deleteCartItem(String cartId);
    List<ShoppingCart> listCartItemsByUserId(String userId);
    ShoppingCart getCartItemById(String cartId);
}